#include <iostream>
using namespace std;

int main(int argc, char const *argv[]) {
  /* code */
  int a[10] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9};
  for (int *p = begin(a); p != end(a); ++p) {
    /* code */
    *p = 0;
  }
  for (auto c : a) {
    /* code */
    cout << c << endl;
  }
  return 0;
}
